Integrand size = 22, antiderivative size = 153 \[ \int \frac {\sqrt {a+b x+c x^2}}{(d+e x)^3} \, dx=\frac {(b d-2 a e+(2 c d-b e) x) \sqrt {a+b x+c x^2}}{4 \left (c d^2-b d e+a e^2\right ) (d+e x)^2}-\frac {\left (b^2-4 a c\right ) \text {arctanh}\left (\frac {b d-2 a e+(2 c d-b e) x}{2 \sqrt {c d^2-b d e+a e^2} \sqrt {a+b x+c x^2}}\right )}{8 \left (c d^2-b d e+a e^2\right )^{3/2}} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 153, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {734, 738, 212} \[ \int \frac {\sqrt {a+b x+c x^2}}{(d+e x)^3} \, dx=\frac {\sqrt {a+b x+c x^2} (-2 a e+x (2 c d-b e)+b d)}{4 (d+e x)^2 \left (a e^2-b d e+c d^2\right )}-\frac {\left (b^2-4 a c\right ) \text {arctanh}\left (\frac {-2 a e+x (2 c d-b e)+b d}{2 \sqrt {a+b x+c x^2} \sqrt {a e^2-b d e+c d^2}}\right )}{8 \left (a e^2-b d e+c d^2\right )^{3/2}} \]
[In]
[Out]
Rule 212
Rule 734
Rule 738
Rubi steps \begin{align*} \text {integral}& = \frac {(b d-2 a e+(2 c d-b e) x) \sqrt {a+b x+c x^2}}{4 \left (c d^2-b d e+a e^2\right ) (d+e x)^2}-\frac {\left (b^2-4 a c\right ) \int \frac {1}{(d+e x) \sqrt {a+b x+c x^2}} \, dx}{8 \left (c d^2-b d e+a e^2\right )} \\ & = \frac {(b d-2 a e+(2 c d-b e) x) \sqrt {a+b x+c x^2}}{4 \left (c d^2-b d e+a e^2\right ) (d+e x)^2}+\frac {\left (b^2-4 a c\right ) \text {Subst}\left (\int \frac {1}{4 c d^2-4 b d e+4 a e^2-x^2} \, dx,x,\frac {-b d+2 a e-(2 c d-b e) x}{\sqrt {a+b x+c x^2}}\right )}{4 \left (c d^2-b d e+a e^2\right )} \\ & = \frac {(b d-2 a e+(2 c d-b e) x) \sqrt {a+b x+c x^2}}{4 \left (c d^2-b d e+a e^2\right ) (d+e x)^2}-\frac {\left (b^2-4 a c\right ) \tanh ^{-1}\left (\frac {b d-2 a e+(2 c d-b e) x}{2 \sqrt {c d^2-b d e+a e^2} \sqrt {a+b x+c x^2}}\right )}{8 \left (c d^2-b d e+a e^2\right )^{3/2}} \\ \end{align*}
Time = 10.12 (sec) , antiderivative size = 149, normalized size of antiderivative = 0.97 \[ \int \frac {\sqrt {a+b x+c x^2}}{(d+e x)^3} \, dx=\frac {\sqrt {a+x (b+c x)} (-2 a e+2 c d x+b (d-e x))}{4 \left (c d^2+e (-b d+a e)\right ) (d+e x)^2}+\frac {\left (b^2-4 a c\right ) \text {arctanh}\left (\frac {-b d+2 a e-2 c d x+b e x}{2 \sqrt {c d^2+e (-b d+a e)} \sqrt {a+x (b+c x)}}\right )}{8 \left (c d^2+e (-b d+a e)\right )^{3/2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(1137\) vs. \(2(139)=278\).
Time = 0.46 (sec) , antiderivative size = 1138, normalized size of antiderivative = 7.44
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 438 vs. \(2 (139) = 278\).
Time = 0.71 (sec) , antiderivative size = 918, normalized size of antiderivative = 6.00 \[ \int \frac {\sqrt {a+b x+c x^2}}{(d+e x)^3} \, dx=\left [-\frac {{\left ({\left (b^{2} - 4 \, a c\right )} e^{2} x^{2} + 2 \, {\left (b^{2} - 4 \, a c\right )} d e x + {\left (b^{2} - 4 \, a c\right )} d^{2}\right )} \sqrt {c d^{2} - b d e + a e^{2}} \log \left (\frac {8 \, a b d e - 8 \, a^{2} e^{2} - {\left (b^{2} + 4 \, a c\right )} d^{2} - {\left (8 \, c^{2} d^{2} - 8 \, b c d e + {\left (b^{2} + 4 \, a c\right )} e^{2}\right )} x^{2} - 4 \, \sqrt {c d^{2} - b d e + a e^{2}} \sqrt {c x^{2} + b x + a} {\left (b d - 2 \, a e + {\left (2 \, c d - b e\right )} x\right )} - 2 \, {\left (4 \, b c d^{2} + 4 \, a b e^{2} - {\left (3 \, b^{2} + 4 \, a c\right )} d e\right )} x}{e^{2} x^{2} + 2 \, d e x + d^{2}}\right ) - 4 \, {\left (b c d^{3} + 3 \, a b d e^{2} - 2 \, a^{2} e^{3} - {\left (b^{2} + 2 \, a c\right )} d^{2} e + {\left (2 \, c^{2} d^{3} - 3 \, b c d^{2} e - a b e^{3} + {\left (b^{2} + 2 \, a c\right )} d e^{2}\right )} x\right )} \sqrt {c x^{2} + b x + a}}{16 \, {\left (c^{2} d^{6} - 2 \, b c d^{5} e - 2 \, a b d^{3} e^{3} + a^{2} d^{2} e^{4} + {\left (b^{2} + 2 \, a c\right )} d^{4} e^{2} + {\left (c^{2} d^{4} e^{2} - 2 \, b c d^{3} e^{3} - 2 \, a b d e^{5} + a^{2} e^{6} + {\left (b^{2} + 2 \, a c\right )} d^{2} e^{4}\right )} x^{2} + 2 \, {\left (c^{2} d^{5} e - 2 \, b c d^{4} e^{2} - 2 \, a b d^{2} e^{4} + a^{2} d e^{5} + {\left (b^{2} + 2 \, a c\right )} d^{3} e^{3}\right )} x\right )}}, -\frac {{\left ({\left (b^{2} - 4 \, a c\right )} e^{2} x^{2} + 2 \, {\left (b^{2} - 4 \, a c\right )} d e x + {\left (b^{2} - 4 \, a c\right )} d^{2}\right )} \sqrt {-c d^{2} + b d e - a e^{2}} \arctan \left (-\frac {\sqrt {-c d^{2} + b d e - a e^{2}} \sqrt {c x^{2} + b x + a} {\left (b d - 2 \, a e + {\left (2 \, c d - b e\right )} x\right )}}{2 \, {\left (a c d^{2} - a b d e + a^{2} e^{2} + {\left (c^{2} d^{2} - b c d e + a c e^{2}\right )} x^{2} + {\left (b c d^{2} - b^{2} d e + a b e^{2}\right )} x\right )}}\right ) - 2 \, {\left (b c d^{3} + 3 \, a b d e^{2} - 2 \, a^{2} e^{3} - {\left (b^{2} + 2 \, a c\right )} d^{2} e + {\left (2 \, c^{2} d^{3} - 3 \, b c d^{2} e - a b e^{3} + {\left (b^{2} + 2 \, a c\right )} d e^{2}\right )} x\right )} \sqrt {c x^{2} + b x + a}}{8 \, {\left (c^{2} d^{6} - 2 \, b c d^{5} e - 2 \, a b d^{3} e^{3} + a^{2} d^{2} e^{4} + {\left (b^{2} + 2 \, a c\right )} d^{4} e^{2} + {\left (c^{2} d^{4} e^{2} - 2 \, b c d^{3} e^{3} - 2 \, a b d e^{5} + a^{2} e^{6} + {\left (b^{2} + 2 \, a c\right )} d^{2} e^{4}\right )} x^{2} + 2 \, {\left (c^{2} d^{5} e - 2 \, b c d^{4} e^{2} - 2 \, a b d^{2} e^{4} + a^{2} d e^{5} + {\left (b^{2} + 2 \, a c\right )} d^{3} e^{3}\right )} x\right )}}\right ] \]
[In]
[Out]
\[ \int \frac {\sqrt {a+b x+c x^2}}{(d+e x)^3} \, dx=\int \frac {\sqrt {a + b x + c x^{2}}}{\left (d + e x\right )^{3}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {\sqrt {a+b x+c x^2}}{(d+e x)^3} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 693 vs. \(2 (139) = 278\).
Time = 0.31 (sec) , antiderivative size = 693, normalized size of antiderivative = 4.53 \[ \int \frac {\sqrt {a+b x+c x^2}}{(d+e x)^3} \, dx=-\frac {{\left (b^{2} - 4 \, a c\right )} \arctan \left (-\frac {{\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} e + \sqrt {c} d}{\sqrt {-c d^{2} + b d e - a e^{2}}}\right )}{4 \, {\left (c d^{2} - b d e + a e^{2}\right )} \sqrt {-c d^{2} + b d e - a e^{2}}} + \frac {8 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{3} c^{2} d^{2} e - 8 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{3} b c d e^{2} + {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{3} b^{2} e^{3} + 4 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{3} a c e^{3} + 8 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} c^{\frac {5}{2}} d^{3} - 5 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} b^{2} \sqrt {c} d e^{2} - 4 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} a c^{\frac {3}{2}} d e^{2} + 8 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} a b \sqrt {c} e^{3} + 8 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} b c^{2} d^{3} - 4 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} b^{2} c d^{2} e - 8 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} a c^{2} d^{2} e - {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} b^{3} d e^{2} + 4 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} a b c d e^{2} + {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} a b^{2} e^{3} + 4 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} a^{2} c e^{3} + 2 \, b^{2} c^{\frac {3}{2}} d^{3} - b^{3} \sqrt {c} d^{2} e - 4 \, a b c^{\frac {3}{2}} d^{2} e + a b^{2} \sqrt {c} d e^{2} + 4 \, a^{2} c^{\frac {3}{2}} d e^{2}}{4 \, {\left (c d^{2} e^{2} - b d e^{3} + a e^{4}\right )} {\left ({\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} e + 2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} \sqrt {c} d + b d - a e\right )}^{2}} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {a+b x+c x^2}}{(d+e x)^3} \, dx=\int \frac {\sqrt {c\,x^2+b\,x+a}}{{\left (d+e\,x\right )}^3} \,d x \]
[In]
[Out]